<!--{subtemplate inc/header}-->
<div id="sysmsg-box">
	<div id="sysmsg-error" class="sysmsg{if $error == ''} hidden{/if}">
		<div><span class="fl">$error</span><span class="close">关闭</span></div>
	</div>
	<div id="sysmsg-success" class="sysmsg{if $success == ''} hidden{/if}">
		<div><span class="fl">$success</span><span class="close">关闭</span></div>
	</div>
</div>
<div class="blank20"></div>
<div class="hbox">
	<dl class="user-handler">
		<dt><strong>找回密码</strong></dt>
		<dd class="content form">
				<form action="{u user/sendpwd}" method="post" style="padding:0 0 0 100px;">
					<div class="act" style="line-height:30px; font-size:12px;">
						请输入您注册的电子邮箱，然后点击确定重新设置密码。<br/>
						为了确保您能及时地收到我们的信件，您最好将 $_FANWE['setting']['smtp_account'] 加入白名单<br/>
						如果您设置后仍无法收到邮件，您可以发送邮件至$_FANWE['setting']['smtp_account']，我们的工作人员会帮助您重置密码。 
					</div>
					<div class="field">
						<label><span>*</span>注册邮箱：</label>
						<input tabindex="1" name="email" size="30" type="text" class="f-input" id="email" maxlength="200" value="$user[email]" />
					</div>
					<div class="act">
						<input type="submit" class="f-submit" name="button" id="reg-btn" value="提交"/>
						<input type="hidden" name="action" value="sendpwd" />
						<input type="hidden" name="form_hash" value="{FORM_HASH}" />
					</div>
				</form>
			</div>
		</dd>
	</dl>
</div>
</body>
<script type="text/javascript">
jQuery(function($){
	tooltipTop = 0;
	
	$("#reg-btn").click(function()
	{
		if($.trim($("#email").val()).length == 0)
		{
			$.showErr("请输入您的E-mail帐号");
			$("#email").focus();
			return false;
		}
		
		if(!$.checkEmail($("#email").val()))
		{
			$.showErr("您输入了错误的E-mail帐号");
			$("#email").focus();
			return false;
		}
	});
});
</script>
<!--{subtemplate inc/footer}-->